<template>
	<view class="checkbox">
		<image class="img" v-if="checked"
			src="/static/icon_yigouxuan@2x.png" mode="">
		</image>
		<image class="img" v-else
			src="/static/icon_weigouxuan@2x.png" mode="">
		</image>
	</view>
</template>

<script>
	export default {
		name: "tutor-checkbox",
		data() {
			return {

			};
		},
		props: {
			checked: {
				type: Boolean,
				default: false
			}
		}
	}
</script>

<style lang="scss" scoped>
	.checkbox{
		.img{
			width: 30rpx;
			height: 30rpx;
		}
	}
</style>